/**
 * @author 陈泰来
 * @version V1.0
 * @Project echo-java-base
 * @Title 中介者模式测试
 * @Description *
 * @Package designmodel.mediatormodel
 * @date 2021/1/29 11:08 上午
 * @Copyright:学如逆水行舟，不进则退 .
 */
package designmodel.mediatormodel;

public class MediatorModelTest {

    public static void main(String[] args) {
        User bob = new User("bob");
        User scylla = new User("scylla");

        bob.sendMsg("hi scylla!");
        scylla.sendMsg("hi bob!");
    }

}
